package com.tyqx.bean.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class EthPoolInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    private Long block;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date productDate;

    private Long txn;

    private Long uncles;

    private String miner;

    private Long gasUsed;

    private String gasUsedScale;

    private Long gasLimit;

    private Double gasPrice;

    private Double reward;

    private Double hashRate;

    private Double difficulty;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getBlock() {
        return block;
    }

    public void setBlock(Long block) {
        this.block = block;
    }

    public Date getProductDate() {
        return productDate;
    }

    public void setProductDate(Date productDate) {
        this.productDate = productDate;
    }

    public Long getTxn() {
        return txn;
    }

    public void setTxn(Long txn) {
        this.txn = txn;
    }

    public Long getUncles() {
        return uncles;
    }

    public void setUncles(Long uncles) {
        this.uncles = uncles;
    }

    public String getMiner() {
        return miner;
    }

    public void setMiner(String miner) {
        this.miner = miner;
    }

    public Long getGasUsed() {
        return gasUsed;
    }

    public void setGasUsed(Long gasUsed) {
        this.gasUsed = gasUsed;
    }

    public String getGasUsedScale() {
        return gasUsedScale;
    }

    public void setGasUsedScale(String gasUsedScale) {
        this.gasUsedScale = gasUsedScale;
    }

    public Long getGasLimit() {
        return gasLimit;
    }

    public void setGasLimit(Long gasLimit) {
        this.gasLimit = gasLimit;
    }

    public Double getGasPrice() {
        return gasPrice;
    }

    public void setGasPrice(Double gasPrice) {
        this.gasPrice = gasPrice;
    }

    public Double getReward() {
        return reward;
    }

    public void setReward(Double reward) {
        this.reward = reward;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Double getHashRate() {
        return hashRate;
    }

    public void setHashRate(Double hashRate) {
        this.hashRate = hashRate;
    }

    public Double getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Double difficulty) {
        this.difficulty = difficulty;
    }
}
